﻿#region Using

using System;

#endregion

namespace engine
{
    public interface IConsoleWindow
    {
        // Sys_Printf() calls this
        /// <summary>
        /// Sys_Printf() calls this
        /// </summary>
        /// <param name="text">status text</param>
        void print(String text);

        // Sys_Error() calls this to show the error text in the console and message fields
        /// <summary>
        /// Sys_Error() calls this to show the error text in the console and message fields
        /// </summary>
        /// <param name="text">the error text in the console and message fields</param>
        void error(String text);

        // after Sys_Error() shuts everything down it calls this to terminate the process
        /// <summary>
        /// after Sys_Error() shuts everything down it calls this to terminate the process
        /// </summary>
        void quit();
    }
}